package com.telit.android.service.impl;

import com.telit.android.dao.CommEventTaskTrackDao;
import com.telit.android.service.TrackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @Auther amy
 * @Describe
 */
@Service
public class TrackServiceImpl implements TrackService {

    @Autowired
    private CommEventTaskTrackDao commEventTaskTrackDao;

    @Override
    public int updateTrackId(Long taskId, Long foresterId, String trackId) {
        return commEventTaskTrackDao.updateTrackIdByTaskIdAndForesterId(taskId,foresterId,trackId);
    }
}
